<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>行天下 看世界</title>
        <link type="text/css" href="__STATIC__/ui/css/flick/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="__STATIC__/ui/js/jquery-1.8.0.min.js"></script>
        <script type="text/javascript" src="__STATIC__/ui/js/jquery-ui-1.8.23.custom.min.js"></script>
        <jsconst/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <css file="__PUBLIC__/css/base.css"/>
        <script type='text/javascript'>
            $(function(){
                $("#tabs").tabs({selected:<?php echo isset($_GET['tid'])?$_GET['tid']:0?>});
            })
        </script>

    </head>
    <body>
         <!--现在的位置-->
            <div class="position">
                <span class="word">您现在的位置： ->  </span>
                <a href="__APP__/config/index"  class="new_pos">基本设置</a>
                <span class="word"> -> 修改配置项 </span>
            </div>
        <!--正文内容-->
            <form action="__CONTROL__/config_update" method="post" enctype="multipart/form-data">
                <div id="tabs"> 
                <!--列表-->                    
                    <ul>
                        <li><a href="#tabs-0">网站基本设置</a></li>
                        <li><a href="#tabs-1">验证码</a></li>
                    </ul>
                <!--第一个列表内容-->
                    <div id="tabs-0">   
                        <table class="table1">
                        <tr>
                            <th>网站说明</th>
                            <th>参数设置</th>
                            <th>模板调用方式</th>
                        </tr>
                        <list from="$config.base" name="$v">
                            <tr>
                                <td>{$v.title}</td>
                                <td>
                                    <if value="$v.name=='recycled'">
                                        <input type="radio" name="{$v.name}" value="1" <if value="$v.value==1">checked="checked"</if>/> 是
                                        <input type="radio" name="{$v.name}" value="0" <if value="$v.value!=1">checked="checked"</if>/> 否
                                    <else>
                                        <input type="text" style="width:360px;text-align:left;color:#555;" name= "{$v.name}" value="{$v.value}">                                    
                                    </if>
                                    
                                </td>
                                <td>{$v.html}</td>
                            </tr>
                        </list>
                        </table>
                    </div>
                <!--第二个列表内容-->
                    <div id="tabs-1">
                        <table class="table1">
                        <tr>
                            <th>网站说明</th>
                            <th>参数设置</th>
                            <th>模板调用方式</th>
                        </tr>
                        <list from="$config.code" name="$v">
                            <tr>
                                <th>{$v.title}</th>
                                <th>
                                    <input type="text" style="width:360px;text-align:left;color:#555;" value="{$v.value}" name="{$v.name}">
                                </th>
                                <th>{$v.html}</th>
                            </tr>                        
                        </list>
                        </table>
                    </div>
                <!--共有按钮-->
                    <div>
                        <input type="submit" class="submit" value="更改完成" style="font-size:13px;">
                    </div>
            </div>
        </form>    
    </body>
</html>